
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="./base64.js"></script>
    <title>成功提示</title>
</head>
<style>
    .main {
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
        margin-top: calc(50vh - 12.8rem);
    }

    .main img {
        width: 60%;
        padding: 0 5.8rem 1.25rem 5.8rem;
    }
    .title {
        font-size: 1.125rem;
        font-family: MicrosoftYaHei;
        color: #69CF5B;
        line-height: 1.5rem;
        margin-bottom: 0.625rem;
    }
    .content {
        font-size: 0.875rem;
        font-family: MicrosoftYaHei;
        color: #999999;
        line-height: 1.15rem;
    }
</style>

<body>
    <div class="main">
        
        <div class="message">
            <div class="title">扫码成功</div>
        
        </div>
    </div>
</body>

<script>
    function getQueryString(name) {  
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");  
        var r = window.location.search.substr(1).match(reg);  
        if (r != null) return unescape(r[2]); return null;  
    }  
    


    let url="https://www.aizhaopin.pro/scan/success.html"
    
     let url_next=url;      

    
    // 使用示例  
    var qrCodeId = getQueryString("qrCodeId");
    var type=getQueryString("type");
    if(qrCodeId){
        window.location.href="/prod-api/hire/mp/auth?qrCodeId="+qrCodeId+'&returnUrl='+url_next+"&type="+type
    }
</script>
</html>
